package com.dreamer.service.mobile.impl;

import com.dreamer.domain.socket.Message;
import com.dreamer.repository.socket.MessageDao;
import com.dreamer.service.mobile.SocketMessageHandler;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SocketMessageHandlerImpl extends BaseHandlerImpl<Message> implements SocketMessageHandler{

    private MessageDao messageDao;

    public MessageDao getMessageDao() {
        return messageDao;
    }

    @Autowired
    public void setMessageDao(MessageDao messageDao) {
        super.setBaseDao(messageDao);
        this.messageDao = messageDao;
    }
}
